package com.kj.tms.common.utils.calx.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @ProjectName: ledger
 * @Package: com.hongtu.tms.ledger.calx.factory
 * @ClassName: Terminals
 * @Description: [BNF文法终结符]
 * @Author: [zhuyongjie]
 * @CreateDate: 2018/4/11 15:56
 * @UpdateUser: []
 * @UpdateDate: 2018/4/11 15:56
 * @UpdateRemark: []
 * @Version: 1.0
 * Copyright: 北京宏图天安 Copyright (c) 2018
 */
public class Terminals {
    private Map<Integer,String> terminals;

    public Terminals() {
        this.terminals = new HashMap<Integer, String>();
        this.terminals.put(5,"EOF");
        this.terminals.put(7,"TRUE");
        this.terminals.put(8,"FALSE");
        this.terminals.put(9,"NULL");
        this.terminals.put(10,"TIME_AMPM");
        this.terminals.put(11,"TIME_24");
        this.terminals.put(13,"STRING");
        this.terminals.put(14,"&");
        this.terminals.put(15,"=");
        this.terminals.put(16,"+");
        this.terminals.put(17,"(");
        this.terminals.put(18,")");
        this.terminals.put(19,"[");
        this.terminals.put(21,"]");
        this.terminals.put(22,"<");
        this.terminals.put(23,">");
        this.terminals.put(24,"NOT");
        this.terminals.put(25,"-");
        this.terminals.put(26,"*");
        this.terminals.put(27,"/");
        this.terminals.put(28,"^");
        this.terminals.put(29,"E");
        this.terminals.put(30,"FUNCTION");
        this.terminals.put(32,"FIXEDCELL");
        this.terminals.put(33,":");
        this.terminals.put(34,"CELL");
        this.terminals.put(35,"SHEET");
        this.terminals.put(36,"!");
        this.terminals.put(37,"RANGE");
        this.terminals.put(38,";");
        this.terminals.put(39,",");
        this.terminals.put(40,"VARIABLE");
        this.terminals.put(41,"DECIMAL");
        this.terminals.put(42,"NUMBER");
        this.terminals.put(43,"%");
        this.terminals.put(44,"#");
    }

    public Map<Integer, String> getTerminals() {
        return terminals;
    }

    public void setTerminals(Map<Integer, String> terminals) {
        this.terminals = terminals;
    }
}
